package cn.edu.tjufe.llp.tin.controller.part01;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;

@Tag(name = "RestDemoController", description = "@RestController演示")
@RestController
public class RestDemoController {
	
	@Operation(summary = "访问URL，返回一个字符串",description = "最简单的@RestController演示")
    @GetMapping("part01/hello-rest")
    public String say(){
        return "Hello Spring Boot";
    }
}
